package com.zkk.pojo;

public class User {
    private int id;
    private String telephone;
    private String username;
    private String password;

    private String gender;

    private String nationality;
    private String id_type;
    private String id_number;
    private String address;
    private String one_account_no;
    private String credit_account_no;
    private String property;
    private String spare;

    public User() {
    }

    public User(int id, String telephone, String username, String password, String gender, String nationality, String id_type, String id_number, String address, String one_account_no, String credit_account_no, String property, String spare) {
        this.id = id;
        this.telephone = telephone;
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.nationality = nationality;
        this.id_type = id_type;
        this.id_number = id_number;
        this.address = address;
        this.one_account_no = one_account_no;
        this.credit_account_no = credit_account_no;
        this.property = property;
        this.spare = spare;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    public String getId_type() {
        return id_type;
    }

    public void setId_type(String id_type) {
        this.id_type = id_type;
    }

    public String getId_number() {
        return id_number;
    }

    public void setId_number(String id_number) {
        this.id_number = id_number;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getOne_account_no() {
        return one_account_no;
    }

    public void setOne_account_no(String one_account_no) {
        this.one_account_no = one_account_no;
    }

    public String getCredit_account_no() {
        return credit_account_no;
    }

    public void setCredit_account_no(String credit_account_no) {
        this.credit_account_no = credit_account_no;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String getSpare() {
        return spare;
    }

    public void setSpare(String spare) {
        this.spare = spare;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", telephone='" + telephone + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", gender='" + gender + '\'' +
                ", nationality='" + nationality + '\'' +
                ", id_type='" + id_type + '\'' +
                ", id_number='" + id_number + '\'' +
                ", address='" + address + '\'' +
                ", one_account_no='" + one_account_no + '\'' +
                ", credit_account_no='" + credit_account_no + '\'' +
                ", property='" + property + '\'' +
                ", spare='" + spare + '\'' +
                '}';
    }
}
